﻿#ifndef CERTCONTENT_H
#define CERTCONTENT_H

#include <QWidget>
#include "globalvars.h"

namespace Ui {
class CertContent;
}

class CertContent : public QWidget
{
    Q_OBJECT
signals:
    void signalPassCert(bool,const QString&);

public:
    explicit CertContent(QWidget *parent = nullptr);
    ~CertContent();

    void initWindowShow();
    const QString& getUserID();
    void setUserImage(const QImage& image);

private slots:
    void on_pb_pass_clicked();
    void on_pb_noPass_clicked();

private:
    Ui::CertContent *ui;

    int m_userImageIndex;
    QString m_userID;
};

#endif // CERTCONTENT_H
